package com.bangdream.michelia.contract;

import android.graphics.Bitmap;

import com.bangdream.michelia.entity.AdBean;

import io.reactivex.Observable;

/**
 * Created by Mr.Wang on 2018/3/30.
 * 909732184@qq.com
 * 广告页
 */

public class AdContract {
    public interface IAdView {
        void setAdData(AdBean adData);
        void setAdImg(Bitmap bitmap);
        void setAdTime(int nmTime);
    }
    public interface IAdModel {
        Observable getAdData(String url);
        Observable downloadFile(String url);
        Observable getAdMessage();
    }
}
